import request from '@/utils/request'

// 查询数据断传列表
export function listSjdc(query) {
  return request({
    url: '/yqhs/sjdc/list',
    method: 'get',
    params: query
  })
}

// 查询数据断传详细
export function getSjdc(id) {
  return request({
    url: '/yqhs/sjdc/' + id,
    method: 'get'
  })
}

// 新增数据断传
export function addSjdc(data) {
  return request({
    url: '/yqhs/sjdc',
    method: 'post',
    data: data
  })
}

// 修改数据断传
export function updateSjdc(data) {
  return request({
    url: '/yqhs/sjdc',
    method: 'put',
    data: data
  })
}

// 删除数据断传
export function delSjdc(id) {
  return request({
    url: '/yqhs/sjdc/' + id,
    method: 'delete'
  })
}
